Optimal. Leaf size=34 \[ \frac {A \log (x)}{b}+\frac {(b B-A c) \log \left (b+c x^2\right )}{2 b c} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {1598, 457, 78}
\begin {gather*} \frac {(b B-A c) \log \left (b+c x^2\right )}{2 b c}+\frac {A \log (x)}{b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 457
Rule 1598
Rubi steps
\begin {align*} \int \frac {x \left (A+B x^2\right )}{b x^2+c x^4} \, dx &=\int \frac {A+B x^2}{x \left (b+c x^2\right )} \, dx\\ &=\frac {1}{2} \text {Subst}\left (\int \frac {A+B x}{x (b+c x)} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {A}{b x}+\frac {b B-A c}{b (b+c x)}\right ) \, dx,x,x^2\right )\\ &=\frac {A \log (x)}{b}+\frac {(b B-A c) \log \left (b+c x^2\right )}{2 b c}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 34, normalized size = 1.00 \begin {gather*} \frac {A \log (x)}{b}+\frac {(b B-A c) \log \left (b+c x^2\right )}{2 b c} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.38, size = 33, normalized size = 0.97
method | result | size |
default | \(-\frac {\left (A c -B b \right ) \ln \left (c \,x^{2}+b \right )}{2 b c}+\frac {A \ln \left (x \right )}{b}\) | \(33\) |
norman | \(-\frac {\left (A c -B b \right ) \ln \left (c \,x^{2}+b \right )}{2 b c}+\frac {A \ln \left (x \right )}{b}\) | \(33\) |
risch | \(-\frac {\ln \left (c \,x^{2}+b \right ) A}{2 b}+\frac {\ln \left (c \,x^{2}+b \right ) B}{2 c}+\frac {A \ln \left (x \right )}{b}\) | \(37\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 35, normalized size = 1.03 \begin {gather*} \frac {A \log \left (x^{2}\right )}{2 \, b} + \frac {{\left (B b - A c\right )} \log \left (c x^{2} + b\right )}{2 \, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.19, size = 32, normalized size = 0.94 \begin {gather*} \frac {2 \, A c \log \left (x\right ) + {\left (B b - A c\right )} \log \left (c x^{2} + b\right )}{2 \, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.38, size = 26, normalized size = 0.76 \begin {gather*} \frac {A \log {\left (x \right )}}{b} + \frac {\left (- A c + B b\right ) \log {\left (\frac {b}{c} + x^{2} \right )}}{2 b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.64, size = 34, normalized size = 1.00 \begin {gather*} \frac {A \log \left ({\left | x \right |}\right )}{b} + \frac {{\left (B b - A c\right )} \log \left ({\left | c x^{2} + b \right |}\right )}{2 \, b c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.08, size = 32, normalized size = 0.94 \begin {gather*} \frac {A\,\ln \left (x\right )}{b}-\frac {\ln \left (c\,x^2+b\right )\,\left (A\,c-B\,b\right )}{2\,b\,c} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________